package com.mao.pojo;

import lombok.Data;

import java.util.List;

/**
 * Author: Administrator
 * Date: 2021/5/18 16:13
 * Description:
 */
@Data
public class Teacher {

    private int id;
    private String name;

    // 一个老师拥有多个学生
    private List<Student> students;
}
